import request from '@/utils/request'
export function list(params) {
  return request({
    url: '/admin/jdProduct/list',
    method: 'get',
    params: params
  })
}

export function find(id) {
  return request({
    url: '/admin/jdProduct/find/'+id,
    method: 'get',
  })
}
export function marketJDProduct(data,params) {
  return request({
    url: '/admin/jdProduct/marketJDProduct',
    method: 'post',
    data:data,
    params:params
  })
}
export function jdCategory(params) {
  return request({
    url: '/admin/jdCategory/list',
    method: 'get',

    params:params
  })
}
